package com.xwt.pattern.adapter;

import java.util.HashMap;
import java.util.Map;

/**
 * Author:  Steven Xiao
 * Description:
 * Date:  2016/3/14
 * Time:  18:42
 */
public class OuterUser implements IOuterUser {

    /**
     * 用户的基本信息
     *
     * @return
     */
    @Override
    public Map getUserBaseInfo() {
        HashMap baseInfoMap = new HashMap();
        baseInfoMap.put("userName", "这个员工叫混世魔王......");
        baseInfoMap.put("mobileNumber", "这个员工电话是......");
        return baseInfoMap;
    }

    @Override
    public Map getUserOfficeInfo() {
        HashMap officeInfo = new HashMap();
        officeInfo.put("jobPosition","这个人的职位是Boss.....");
        officeInfo.put("officeTelNumber","员工的电话号码是....");
        return officeInfo;
    }

    @Override
    public Map getUserHomeInfo() {
        HashMap homeInfo = new HashMap();
        homeInfo.put("homeTelNumber","员工的电话号码是.....");
        homeInfo.put("homeAddress","员工的家庭地址是.....");
        return homeInfo;
    }
}
